/*  
 Copyright 2010 The 'Tribe.Blog' development team  
 (http://tribecache.codeplex.com/team/view)

 This library is licensed under the Ms-PL Microsoft Public License.  You should 
 have received a copy of the license along with the source code.  If not, an online copy
 of the license can be found at http://tribecache.codeplex.com/license.
*/

namespace Tribe.Cache.Enum
{
    ///<summary>
    /// When adding an item to the cache, you can set it to expire in different ways
    ///</summary>
    public enum CacheExpiration
    {
        ///<summary>
        /// Sliding expiration - Specifies how long after an item was last accessed that it expires.
        ///</summary>
        Sliding,
        ///<summary>
        /// Absolute expiration -  Specifies that an item expires at a set time, regardless of how often it is accessed.
        ///</summary>
        Absolute
    }
}